<h1>Listing services</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Type</th>
    <th>Composite</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @services.each do |service| %>
  <tr>
    <td><%= service.name %></td>
    <td><%= service.binding_type %></td>
    <td><%= service.composite %></td>
    <td><%= link_to 'Show', service %></td>
    <td><%= link_to 'Edit', edit_service_path(service) %></td>
    <td><%= link_to 'Destroy', service, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

 <!-- <%= link_to 'New Service', new_service_path %> -->
